AttrRep Viewer is a tool for visualizing the display of a certain AttrRep code snippet without having to restart the Modelling Toolkit after every change made to the code. ***** Developed by BOC Asset Management, SPo ***** ********************************* *** Version 0.1a - 11.01.2013 *** ********************************* Features: - the viewer is able to identify the CHAPTER, GROUP, ATTR keywords and the names of chapters, groups and attributes - identified and interpreted keywords: "write-protected", "dialog", "lines", "font-family", "color", "ctrltype", "no-param", "push-button", "formula-visible" - all values of the "font-family" property are interpreted - all dialogs are displayed, except for "acfilter" and "wizard" - all values of the "ctrltype" property are interpreted, except for "graphrep" - when clicking each icon, a pop-up window is displayed, displaying the corresponding dialog (except for 'delete' and 'go-to' icons) Limitations: - the user must add the type of each attribute manualy: attrtype:Attrtype to the end of each line; Attrtype : INTEGER, DOUBLE, STRING, LONGSTRING, TIME, DATE, DATETIM, ENUMERATION, ENUMERATIONLIST, DISTRIBUTION, PROGRAMCALL, RECORD, EXPRESSION, INTERREF, ATTRPROFREF - for multiline STRINBGS or LONGSTRINGS, the user must add the keyword MULTILINE at the end of the line - the keywords SET and AVAL are not interpreted - there are no offsets for tabs ********************************* *** Version 0.1b - 17.01.2013 *** ********************************* Features: - functionality for splitting a chapter into pages, if its length exceedes the standard length - functionality for browsing through pages using the arrows at the bottom-left of the chapter - improved display for radio groups - tab offset relative to the open tab Limitations: - the user must add the type of each attribute manualy: attrtype:Attrtype to the end of each line; Attrtype : INTEGER, DOUBLE, STRING, LONGSTRING, TIME, DATE, DATETIM, ENUMERATION, ENUMERATIONLIST, DISTRIBUTION, PROGRAMCALL, RECORD, EXPRESSION, INTERREF, ATTRPROFREF - for multiline STRINGS or LONGSTRINGS, the user must add the keyword MULTILINE at the end of the line - for radio button display, the user must add the number of options: options:n_options ; if not present, the implicite number of options is 2 - the keywords SET and AVAL are not interpreted Bugs: - Paging does not work properly when the user first clicks the "Display" button ********************************* *** Version 0.2a - 13.02.2013 *** ********************************* Features: - reads the metamodel from an xml file containing the exported from Development Toolkit - the user does not need to add the "attrtype:", "multiline" or "options:" keywords anymore and they are ignored - reads attributes inherited from another class Limitations: - the metamodel for an "attrprofref" and "record" is not yet read from the metamodel (a standard image is displayed, independent from the metamodel) - an error log needs to be generated - the keywords SET and AVAL are not interpreted Bugs: - Paging does not work properly when the user first clicks the "Display" button ********************************* *** Version 0.2b - 20.02.2013 *** ********************************* The tool works best in Mozilla Firefox 18.0 and above, on a display resolution of 1280x1024px or above. Features: - read the metamodel from an xml file containing the exported from Development Toolkit - the user does not need to add the "attrtype:", "multiline" or "options:" keywords anymore and they are ignored - read attributes inherited from another class - read the attributes for a recordclass referenced by a RECORD attribute and display a (proper) table - display a variable length of the tab name - read the contents of the AttrRep existing in the xml file - generate error message if one attribute is not found in the metamodel - improved layout and styling Limitations: - the attrprofcalss for an "attrprofref" attribute is not yet read from the metamodel (a standard image is displayed, independent from the metamodel) - the keywords SET and AVAL are not interpreted - no option to save the modified AttrRep to the disk or in a cache - large XML files cannot be parsed propery (75.000 lines/3,5MB works fine; 140.000 lines/6,0MB does not work)